﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class t_Cache : DataObject
    {
        [ID]
        [IDENTITY]
        public int ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private int _ID;
        public static FieldInfo id = new FieldInfo("t_Cache", "ID");

        [Column]
        public string CacheKey { get { return _CacheKey; } set { _CacheKey = value; EntityState.FieldChange("CacheKey"); } }
        private string _CacheKey;
        public static FieldInfo cacheKey = new FieldInfo("t_Cache", "CacheKey");

        [Column]
        public string CacheValue { get { return _CacheValue; } set { _CacheValue = value; EntityState.FieldChange("CacheValue"); } }
        private string _CacheValue;
        public static FieldInfo cacheValue = new FieldInfo("t_Cache", "CacheValue");


    }

}